package com.xhwl.data.pojo.dto.personal;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: luyi
 * @Description: 编辑组织 选择指定人、组织可见
 * @Date: Create in 11:57 2022/4/12
 */
@Data
public class OrgStaffTreeDTO {


    private String id;

    private String name;

    /**
     * 1 人， 0 组织
     */
    private Short type;

    private Integer relationId;

    private String parentId;

    private List<OrgStaffTreeDTO> children = new ArrayList<>();

    private boolean hasChild;

    private List<String> orgNames;

    //人 是否是所选组织负责人
    private Boolean isManager = false;

    private String loginName;

    private Integer staffId;

    private String phone;
    /**
     * 所属组织ids
     */
    private List<Integer> orgIds;

}
